import {createMemoryHistory, createRouter} from 'vue-router'
const history = createMemoryHistory(); 
const router = createRouter({
  history,
  routes: [
    { path: '/home', redirect: '/' },
    { path: '/', component: () => import('./pages/home.vue') }
  ]
})
export default router
